fixed bug measure