cv-cat: fixing hard-to-kill bug