fix predict for classifiers