fix to redirect url