fixed issue #152

fixed issue #152