fix issue #191