small fix for segment durations