Correct code on pager check