fix delete command