General Motors Corp.(GM) is recalling more than 30,000 Chevrolet Corvettes because of a defect that allows detachable roofs to fly off.

The recall issued this past week affects certain 2005-2006 models with painted roofs. The adhesive between the roof panel and magnesium frame may separate, GM spokesman Alan Adler told The Detroit News.

If there is a complete separation, the hard roof panel may detach from the vehicle and it could strike another vehicle.

"You do not want to hit a 10-pound object at 70 miles per hour," Adler said.

The National Highway Traffic Safety Administration has received 21 complaints from owners of the sports car, but Adler said the problem has not caused any injuries or deaths.

Owners affected by the recall can get a free inspection and repair, if needed, at their local dealership.