fix issue #187