fix host name resolution