svm works, change features key from string to index