keep on the good side of

[keep on the good side of] See: ON ONE'S GOOD SIDE.