fix issue #1759