minor SVM bug fix