fixing index organization, present template for paging