fixed base64 issue