fix frame durations