fix logProb