fixed issue #182