some base64 decoding