finish index header