fixed host name bug