cleaned up index.