delete method fixed