change constructor of HostInfo to empty