Potential fix for issue #1112