How about "I wish I can get rid of my habit on making this mistake" if the mistake is right in front of you or "I wish I can get rid of my habit on making that mistake" if the mistake happened some time before and not current.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.