fixed probH calculation