fixed Quaternion bug