workaround for missing port on autodiscovery