fix pager index issue