fixed issue #79
Merge pull request #82 from YaroslavLitvinov/issue79

fixed issue #79