fix fail on init of tesseract