keep one's nose clean

Verb

 * 1)  To stay out of trouble, especially by avoiding unlawful behavior.