clear the roll value accumulator at the right time