In a settlement filed Friday in a federal court in Missouri, Remington has agreed to replace millions of triggers in its Model 700 rifle because of the possibility of the gun accidentally firing.

According to reports from CNBC, Remington denies the guns are defective or unsafe, but is agreeing to replace riggers in about 7.85 million rifles nationwide “to avoid the uncertainties and expense of protracted litigation.”

The settlement stems from a class action suit filed by a Missouri man in 2013, who claimed the rifle fired on multiple occasions without the trigger being pulled.

At least 24 deaths and more than 100 serious injuries have been linked to inadvertent discharges of Remington 700 series rifles, the report states.

Under the settlement, which still must be approved by a judge, Remington has agreed to retrofit the rifles in question at no cost to the owner. If a rifle trigger mechanism has already been replaced, the company will reimburse owners as part of the settlement. 

For guns that cannot be retrofitted, the company will offer vouchers for Remington products, according to the report.

The settlement covers more than a dozen models, specifically the Model 700, Seven, Sportsman 78, 673, 710, 715, 770, 600, 660, XP-100, 721, 722 and 725.

To determine if your rifle has the trigger in question, click here for serial number location information and the phone number to contact Remington.