change redirect path to redirect