fix bug: base64 wrapped long output.