Fix missing accumulator reset