fix redirected url