Fix issue #102: pagebreak bug