Fix base64 decode