Fix host names in settings.