modify mistake for machine learning 2