correction to calculation of corrected spectrum