fix measurement