indent batabse code, remove not required geoip detection