fix issue #169.