fixed prob calculation