Hyundai said it will recall 883,000 Hyundai Sonata sedans from the 2011-2014 model years because of a problem with the gear shifter.

In some vehicles, the cable on the transmission shifter detaches. When that happens, the transmission gear selection might not match the indicated gear, and the vehicle may move in an unintended or unexpected direction, increasing the risk of a crash.

Additionally, when the driver parks the vehicle, the transmission might not be in “park” even if the driver has shifted the lever to that position, according to the National Highway Traffic Safety Administration.

Hyundai said its dealers will inspect the cars and, if needed, repair the connection between the lever and cable.

This recall brings the number of vehicles called back by automakers in the U.S. to more than 40 million so far this year.