some tweaks for cleaner page breaks