fix typeo in delete method