clean up delete functionality