replaced base64 to png