improve stdout debug