find bad character in ocr