fix for issue #2953