fix printing