Fixed issue #3186