fixed quaternion read in bug