Troubleshooting

I am doing my taxes and the other information boxes  52 and 53 add up to the capital gains in box 21, why does it add on instead of balance out . It’s looks like it’s reported twice