rename and add option to choose checking reslove only or checking reslove and init