base64 serialization fix