Fix page break issue