fixed svm plotting issue