fix issue #2713

fix issue #2713