removed base64 debug code