replace legacy geoip.lookup() with get_geoip()