fix range
Merge pull request #7 from filiptc/master

fix range