fix bug of pager