Correction of gain modulation (2.0)