Corrected the reset feature for smote