fixed issue #49 (secondary)