Bug fix for MeasureD and MeasureTab