Fix 1682

resolves issue #1682