fix the SyntaxConstractClassifier performance problem