Fixed bugs with the host's connections.