fixing RPC remoteHostnames.