closes issue #1219