minor fix for print