Fix deploy hostname issue