added non hashed ip check