Bugfix for print.