fix base64 bug

if the value's type is byte[], xml should have base64 tag