fix lm_prob