refund

last year my sons employer took the wrong state out of his check and the consequence was that he had to pay Indiana $2047.00 but he got a refund back from Illinois for $1947.00.  turbo tax is showing that refund as income but not calculating that he still had to pay . How can this be corrected?