trying to fix redirect loop by setting up a new index again