Fixed the duration issue.