Need Help Correcting a Very Bad Habit

One of my Dad's cousins replaced curse words and phrases with other phrases. My favorite was "Cheese and crackers!", with the usual emphasis and gusto. I can still hear him say it, although he is long gone.