minor change for Encoding Detector