bugfix for previous commit
Merge pull request #9 from frimmel/master

bugfix for previous commit