really fixed the redirect loop !