fix redirectPath