No one is perfect, that includes your child's other parent. Even when he points out your imperfections. Or when she yells that she's a better parent then you. Acknowledge your shortcomings and deal with them before that toxic ex throws them in your face.