i wrote a code to redirect users according to country, my code is working for other countries but for default country it does not work and it gives error of too many redirec