fix issue #1760