Fix the duration: duration is not sent
Merge pull request #3 from fetrarij/duration

Fix the duration