fixes issue #8
Merge pull request #10 from cloudnull/Issue8

fixes issue #8