fixed how skill_cleanse handles threat generation