SVM labels fix