removed base64 decoding