removing double-counting in probability calculation