fix issue #145