patch the redirects