fix pagination view