Fix the repeat init execution bug.