fix CliController bug