fix bug in smote when only factor features are presente