fix a problem of poking negative numbers
Merge pull request #318 from dadeba/fixpokenegative

fix a problem of poking negative numbers