fix bug in measurements/create