modify redirect path