Fixed bug in delete method