revise the redirect