Fix print bug