corrected periodic reset