fix pager indexing