fix hostname issue