correcting diagnostics for IMU