Fixed stopCommand()