format measures properly