T3 form box 21

When I enter capital gains in the box 21, the amount entered is not included in the total sum of capital gains on the line 12700, page 2.