Fixed crashing issue with bad base64 syntax