improve tdriver and ocr