Fixed print bug