fix magnetometer data collection order