fixed the delete