fix and use learner utility