Fixed base64 encoding