cure someone of something
to rid someone of a disease, ailment, bad habit, or obsession. I hope that the doctor prescribes something to cure him of that chronic cough. Will you please try to cure yourself of your constant interrupting?
cure something of something
to eliminate the cause of a malfunction in a machine or a device. (See also
cure someone of something.)
I think I have cured the stapler of jamming all the time. I can't seem to cure the committee of procrastination.