bug fix on Weka classifiers' cross_validate method