fixed a redirect