fixed the minor changes in learner