fix issue #20
Merge pull request #21 from ricardofbarros/master

fix issue #20