gets redirects working