fix for issue #372
Merge pull request #373 from opuneet/issue372

fix for issue #372