fix index history