fix overriding of default host if specified from cmdline