fix base64 encoded bodies