quickfix for issue #877

quickfix for issue #877
changes for git