Fixed pager to make sure it to work correctly