clean some redundant settings from the loop start