fix a bug of delete processing for tspawn command.