fix issue #50