a little fix to add to #36
Merge pull request #40 from fabiosantoscode/fix36

a little fix to add to #36