fixed page break issue and missing menu issue