(classifier) fixed a bug related to signed comparison