fix base64 string adapter encoding issue, issue #193.