fix traps' sanity check