cleanup dead code
delete is now working, nice