Fixed print and trace