another fix to libsvm