fixing ZX and ZY rotation dof