Fixed issue #3185