host comparision fix