modif the defect of the index