fix export page breaks