cleanup `get-ocr-map`