fix pager class bug