A way to get around the relative yaw axis issue?

What I wanted to mean, it’s that I have a pawn with a FloatingPawnMovement component and I use the node ‘add controller … input’ on x, y, z. However when I rotate to the top or the down then I turn around the yaw axis, it happens the same thing that around the roll axis, so I have concluded the yaw axis is fixed whatever the rotation ( not relative to the rotation). It’s awkward when my pawn does a roll and turns wrong around the yaw axis.