Potential fix for issue #1683