Fix unauthorized access to memory of the IMU data