bugfix for #2
Merge pull request #3 from fabdrol/master

Fix for issue #2