fix the probability table