fix host and whitelist