delete method fixes