Fix 2 for redirect loop.