Fix hostname issue