After you file

@Mark3657 -  there is nothing to do.  The IRS has adjusted your refund to correct the error.

 

You should find that the correct entry for Line 30 of Form 1040 is the number you submitted on your tax return LESS the adjustment the IRS made. 

 

No amendment is necessary.

 

make sense?