fixed some of the probabilities errors