fix printing objects