Backport #39619 by @wxiaoguang * Fix #39618 * Follow up #38588 * Remove unrelated errors Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Backport #39619 by @wxiaoguang * Fix #39618 * Follow up #38588 * Remove unrelated errors Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>