fixing redirect path