fixes layout for print