fixes hostname issue