fix duration editor