Fix label bug in durationbox mode