fix one line warning on delete

fix one line warning on delete