issue #778