fixed the pager bug