repair redirect