fixed issue 15
Merge pull request #20 from egdenis/master

Thanks!