fix domains for hosts with no domains