fix pagination #2