re #6: fix bounds
re #6: fix typo
Merge pull request #8 from sureleo/fix_6

Fix 6