fixed to NPE on pager updating