fixbug: Issue #145