bug fix issue #1110

bug fix issue #1110