fix for equal (duplicate) measurements