Fixed calculation in the print section.