clean up index template
clean hits template