delete orders when command is ok