conditions and page breaks dont work