GeoIP fix for localhost