header index repair