change the redirect on index