fixes issue #10
Merge pull request #11 from bernardocorbella/issue-10

fixes issue #10