fix bug for student get notice for undo homeworks