fix issue #164