base64 code cleanup