How to remove camera shake when root motion is enabled in anim montages

I have some montages that use root motion, but when I use those montages the camera follows and sort of shakes side to side because of the animation. What’s the best way to avoid this?emphasized text

I also wanna know

Go to Camera Boom and add lag.