IRS made a mistake in my return and want me to submit an ammeded return

First they said I owed  19000 usd and claimec my filing was n ot clear . They corrected themselves but are asking me file an ammeded return to get ,money back