fix for hostnames