The relevant schedules in the return of income, based on which income is computed under respective heads, should show the total receipts, on which credit for TDS is claimed.
The taxable total income has to be arrived at, after offering the total gross receipts, as shown in Form 26AS, on which credit for TDS is claimed.
The correction of the defect is to be made by filing the corrected return in the applicable Form type, as the said correction may result in change of income / TDS claim.
Hope this helps.