catch redirects