fixes to Learner