fix problem with tesseract's locale