fix grab redirect url