fixed the duration issue (#5)

dat duration issue doe