DELETE specs and fix to the delete function