fix for pull request #109