fix issue #3