- fix issue when total row count < row count after folding
- update example