fixed issue #168