before testing mask-svm