Money earned in work release

If I filed taxes, my W2 and the IRS sent me a letter stating that e.i.c. wouldn't count for money earned in a work release center in Florida. So how do I fix my taxes to still get a return? Do I need to amend it? Will the IRS fix the issue and send me my return? Thank you in advance