cleaned up index