changed working with weka classifiers