fix duration for ima4