Fixed delete method