OCR text/plain fix