clean up npc activation detection system