remove unnecessary line from delete method