Fixed a bug in CommandInterpreter