fixed the duration of spaces