fix svm struct classify bugs