What could you have done to improve your relationship with a manager you didn't like?

This question could be a follow up to the question about having a bad manager. In my case, I didn't know he was a bad manager until I switched managers. But here is a generic answer that shows professionalism.

This answer shows that this person took proper actions before it was too late. It shows that this candidate has the ability to work with managers and team members despite personal differences or feelings of dislike. When you think of your own answer, make sure you answer this question showing that you dealt with this problem before and that you overcame the situation.