fix for issue #77
Merge pull request #78 from namtzigla/issue-77

fix for issue #77