COLOGNE, Germany (AP) _ Engineering group Kloeckner-Humboldt-Deutz AG on Wednesday reported a first-half profit of 820 million marks ($551 million), due to a bailout that rescued it from bankruptcy after a fraud scandal.

The company, known as KHD, also restated its earnings from all of last year to show a much deeper loss, reflecting losses at a plant-building division that weren't discovered until this May.

KHD's profit in the first six months of the year reversed a loss of 184 million marks in the same period last year. KHD said the rescue package, worth more than 1 billion marks and half-funded by Deutsche Bank, will allow it to break even for the whole year.

Six-month sales climbed 2 percent to 1.20 billion marks from 1.17 billion marks.

For all of 1995, KHD revised its loss to 1.13 billion marks from 174 million marks to include losses of 779.1 million from its KHD Humboldt Wedag AG unit, which builds cement-making plants. KHD's overall plant-construction business lost 960 million marks.

KHD Humboldt Wedag is accused of falsifying data over an unspecified period of years to hide losses in its Saudi Arabian operations. Three of the unit's executives were fired, and a manager was arrested earlier this month.

KHD plans to sell its plant-construction business to shift its focus to motor and machine making.