corrected delete command