fix hostname issue.