corrects bug during changeHost/removeHosts