fix for issue #75
Merge pull request #76 from sashakruglov/issue_75

possible fix for issue 75