fix issue with second page on print