small fix to ocr parser