Nothing needs fixing. Form 8863 does NOT show how many times the American Opportunity tax credit (AOTC) has been claimed, in the past. It only indicates (on line 23) whether it has already been claimed 4 times (a yes or no check box). In your case, line 23 should be checked NO.
Actual wording from the form:
23 Has the Hope Scholarship Credit or American opportunity credit been claimed for this student for any 4 tax years before 2019?
Yes — Stop! Go to line 31 for this student.
No — Go to line 24.