fix issue #117