fixed issue #977
Merge pull request #981 from cfaddict/develop

closes #977