some fixes to base64 example