Tesla is recalling more than 321,000 electric cars due to a software problem that causes the taillamps on some cars to malfunction. The manufacturer announced this in a report to the National Highway Traffic Safety Administration (NHTSA), reports Reuters. The recall covers Model 3 and Model Y models manufactured in the United States between 2020 and 2023.

“In rare instances, taillamps on one or both sides of affected vehicles may intermittently illuminate due to a firmware anomaly that may cause false fault detections during the vehicle wake up process,” NHTSA said in a statement. “Brake lamps, backup lamps and turn signal lamps are not affected by this condition and continue to operate as designed.”

Tesla will issue a software update to address this issue. The company has not received reports of any accidents or injuries related to the error. The automaker learned about the problem at the end of October. In a separate announcement earlier in the day, Tesla recalled about 30,000 vehicles due to a problem that could cause the front passenger airbag in Model X vehicles to deploy improperly in some situations.

Tesla has had 19 recalls in the US so far this year. Earlier this month, the company recalled 40,186 Model S and Model X vehicles due to a software problem that could disable power steering for cars driving over potholes. Before that, the company recalled more than a million cars due to malfunctioning windows.