simplify base64stream