fixed odd redirects