fix issue #160