fix infinite redirect on /admin