fix issue #152