add ocr
change some utils