SACRAMENTO (CBS13) — Just 25 days out from election day, two local counties are replacing mail-in ballots after reporting mistakes.

In Yolo County, 581 voters got a ballot with an incorrect local race or measure on it. The mistake was caused by a switch to a new data system. The county is now expediting new ballots to everyone impacted.

READ MORE: Homeless Encampments Cause Concern For Local Businesses As Sacramento Shelters Reach Capacity

The elections office said voters in Davis, Winters, West Sacramento, and Woodland were affected. In Davis, officials said 90% of the impacted voters live in the Covell Commons Condos and the 8th and Wake Apartment complex. They are now working to directly contact the management at each property.

READ MORE: New Law Makes Getting License Easier For Barbers And Hairstylists In California

And in San Joaquin County, more than 2,200 voters will be getting a new ballot in the mail because a Delta Community College Board of Trustees race was mistakenly left off those ballots. The county registrar said the new ballot will have the words “corrected ballot inside” written on the envelope.

If people already mailed in their ballots, the county says they will contact them by phone or email.

MORE NEWS: Dinosaur Exhibits Open At Sacramento Zoo

READ: CBS13 Investigates: How Long Will It Take For Your Vote To Arrive?