Fixes redirects