solved page break issue by splitting html in several files