fix printing.