fixing bugs LearnController.java