Hyundai is recalling nearly 18,000 Veloster subcompact cars for a pair of unrelated defects.

The larger recall relates to 11 consumer complaints alleging that the panoramic sunroof on the 2012 model year Hyundai Veloster "shattered or exploded." Hyundai is recalling 13,500 units of the vehicle, manufactured between Nov. 1, 2011, and April 17, 2012, which are thought to have been potentially manufactured with a weakened panoramic sunroof assembly.

The smaller recall (of 4,490 vehicles) also relates to model year 2012 Velosters. Hyundai says that the emergency parking brakes installed in cars manufactured from July 2, 2011, through Feb. 27, 2012, and equipped with manual transmissions may "bind" from exposure to moisture and grime, preventing the brake from operating properly. 

In each case, Hyundai expects to notify car owners of the recalls beginning in January.