fix redirect path