how to resolve "The sum of box 52 and box 53 cannot be negative and must equal the total capital gain or loss in box 21."

Is this a glitch with the system? If so, it's ridiculously annoying.