fixed tree svm thing