fixed up index