All Nippon Airways said Monday it was repairing five Boeing 787 Dreamliner jets for an engine defect, the latest problem for the troubled airliner. The Japanese carrier grounded the planes following an announcement last week by the Dreamliner\'s engine manufacturer Rolls-Royce about a problem in its gearbox, a spokeswoman said. \"We\'ve exchanged a total of seven engines in five aircraft, cancelling two domestic flights,\" she told AFP on Monday. ANA said it immediately suspended service for two of the planes so the parts could be replaced, while it grounded another three after Boeing said more of the planes were at risk. Two jets have since returned to service, the spokeswoman said, adding that Rolls-Royce discovered the defect -- corrosion inside the gearbox -- during endurance tests. In February, Boeing said around 55 of its flagship Dreamliners were at risk of developing a fuselage problem. Built largely with lightweight composite materials, Boeing says the Dreamliner is about 20 percent more fuel efficient than similarly sized aircraft and is the first mid-size airplane capable of flying long-range routes.