handle silly hostnames