Fix bug interval = 0
Merge pull request #69 from nguyenvannghia-luvina/master

Fix bug interval = 0