fixed base64.encodestring(data)