Delete trap fix

Delete trap should work now