fixing the delete button