fix snapshot in learner mode