fixing hostname issues