Zooming Rotation problem

I m trying to make fps zoom to weapon camera but to do up and down I use aim offset blend in anim bp the problem is when I try to zoom this happens:

and this is my setup:

Lastly, this is how the aim offset works:

So my ques is player cameras rotation and aim offset is not synchronous and this causes the rotation problem so how can I sync these two

I find the answer myself the reason for why it does not work is because skeletal mesh is attached to spring arm but I have to attach sk mesh to spring arm so inside the details in spring arm under the camera settings there is a checkbox named Inherit Pitch if I close that pitch in anim bp works great so I write a code to close Inherit pitch option when I zoom and re-enable it when zoom ends