corrected errors in SMO training