Get your taxes done using TurboTax

In my case the amount listed next to "Remaining dedns from gross income" was equal to the amount I put into my HSA (Health Savings Account). Agreed why doesn't TurboTax know that? And why is that on the Foreign Tax Credit Computation Worksheet? What does that have to do with foreign taxes? Is this a bug?