fix redirects in controller