fix for #92
Merge pull request #94 from dahuapp/fix-for-92

fix for #92