experiment to try and fix redirect loop