try to rotate coordinate from xzy to xyz