Fix for geoip detection