扭虧為盈

Idiom

 * 1) to turn loss into gain; to be back in the black