added ERR and ILL check to BankOCR