Fixed a syntax error in command class