stupid error that make the classifier wrong for use in c++