fixed issue #1