removed redirect loop