subcommand bug fixed