removed base64 decode