index repair