fix for hocr