upgrade/fix delete command line