fix setupCmdContext() for subcommands 

fixes #163