bug fix. fix issue #2.