base64 reorganize