"a mother of a problem" is the 18th episode in the third season, the 59th episode overall, of the american dramedy series "ugly betty", which aired on march 12, 2009. the episode was written by bill wrubel and directed by matthew diamond.