fix page breaks