fix issue #18
Merge pull request #19 from tomasdelvechio/iss18

fix issue #18