fixed the redirect loop with submissions page