fix hostName not loading