fixed index header and footer