Remove an error in deleting