fix issue #182