State tax filing

My query relates to 2020 ny tax return. i believe turbotax calculates tax payable at line 39 incorrectly- eg say line 38 (taxable income) is $500k. turbotax is calculating line 39 (nys tax payable) as $500k x 6.85% instead of $19674 + ($500k - $323.2k) x 6.85%. This overstates the tax payable.