fix AverageOfMeasurements