fixing base64 encoder tag