fix integration examples
(cherry picked from commit f56bfa82153be97de8b5215518b59fc2de86eff6)