fix for issue #23
Merge pull request #24 from bratkartoffel/issue23

Fix for issue #23