I have entered T3 box 21 correctly but continue to get error message, how do I fix?

The error message indicates the Capital Gains in box 21 can't exceed total Capital Gains