fix issue #149