Fix delete method