fix redirect url