fixed constructors in CommandBase