Fixed bug in Pager adapter