bug fix. when user complete a lesson twice, lack of default value when the calculation of stars.