deleted some useless code. fixed incomparable input numerical strings.