- small correction in the delete() method