Added code to clear trap