fix bugs in SourceCodeClassifier