removed base64 key decode