refining svm light wrapper