Hosts fixes

Fixed typos in addHost and removeHost.