fix for fix of issue #39

the `-1` was lost
Merge pull request #41 from MaxDaten/patch-1

fix for fix of issue #39