fixed issue #117