fixing admin too many redirects