fix to #699
Merge pull request #700 from jskda/pull_request.699

fix to #699