fix hostnames