fixed issue about reset event occur twice.