fix index histories