Fix redirect url