--Fixes for page breaks and case type changes