Trimming svm label