revert pagination changes