GeoIP fix after code cleanup