fixing indexterms