revise IOcrWorker (not complete)