My capital gains show in Turbo Tax as twice the amount on my 1099-B form. Why is that? The data was brought in directly from my broker's website.

When I look at the form the correct amount comes up but the summary shows double the amount. How can the gains be more than the amount that I took out?