Why is CA 540NR line 14 not carrying over Schedule CA (540NR) line 37 column B? Why is the figure on 540NR, line 16 not the same as Schedule CA (540NR) column C line 37?

When I override and enter the figures for Form 540NR, lines 14 and 16 from the proper column in Schedule CA(540)NR, it is not properly doing the math and recalculating the tax.