corrected redirect url