fix for issue #4105

fix for issue #4105