bug fix: issue #86

fixes #86