svm helper fix