fix A bug of printing - #192