fixed b64 padding problem