changed clean for delete