fixing redirect links