correcting redirect route