Another getHosts fix