fixed multiple instance of gyro issue