fix tesseract lang detection