resolves issue #46