closes issue #1529