fix subcommand cache