Deductions & credits

Your refund is only the 4771.  You already got 3,000 as the Advance Credit.  Line 28 is only the other half.
I don't know where you saw 7,000 refund.