fix bug 1935
Merge pull request #47 from davidleibovic/fix-bug-1935

Nice fix!