support the RANDOMIZED_RESETS option
Merge pull request #149 from pkuxkxjason/next-3.0

support the RANDOMIZED_RESETS option