add pager condition