fix for issue 449
Merge pull request #450 from kulicuu/master

fix for issue 449