Wiktionary
mind one's ps and qs
vb. (context idiomatic English) To be very careful to behave correctly.