fixes #93
Merge pull request #95 from ljwolford/durationFix

fixes #93