improve printf debug ui