fix bug in hard pager