Fixed issue with missing host name