fix unwanted pagebreak