fix the redirect route