now trap will be delete when it is triggered