Fix bug in geoip