Clean up index.