Fixed pagebreak issues in paper