fix pagination limit bug