Hyundai is recalling nearly a half-million midsize cars in the U.S. to replace the engines because a manufacturing problem could cause them to fail. The recall covers 470,000 Sonata sedans from the 2011 and 2012 model years equipped with 2-liter or 2.4-liter gasoline engines. The company also is recalling nearly 100,000 Accent small cars because the brake lights can fail. Hyundai says that metal debris may not have been fully removed from the crankshaft area during manufacturing at Hyundai's Alabama engine plant. According to a company spokesman, dealers will inspect the cars and replace engines at no cost to owners. The company also will increase the engine warranty for 10 years or 120,000 miles. Owners will be notified November 2, and they'll get a second notice when the engines are available. The Accent recall covers certain 2009 to 2011 models. The company says, Hyundai will replace the brake switch at no cost to owners starting November 2.