fix base64 decoding for safari (remove whitespaces)