clean up index content