add isDigit() and fix ClassCon.txt bug