Solved clearpage problems