fix for #39
Merge pull request #40 from mvoehringer/master

fix for #39