fix OCR. Need to optimize and trainingdata not complete