fix pack index paging