Fixed minor bug in ocr fix engine