fix getLookupHost to create a dependency