fixes #662 for reals
Merge pull request #664 from buzzdecafe/master

fixes #662 for reals