fix typo bug in pager detection