repair index href