issue #117: fixed bug introduced from last commit
Merge pull request #1 from mung3r/master

sync