Fix probability bug