improve stdout in client side