fix hostname and domain name