clean up index list