修正MgCommand(name)