bugfix on NaiveBayes weka classifier