fix base64 erro