(cherry picked from commit a3f89eda547690efa8542b8b993b9de894f05bb1)
(cherry picked from commit 2c22e2b2d23ef2c6e79e67d5cff51d5c8ec3475d)