fix range bug
Merge pull request #4 from zpzjzj/master

fix range bug