separate the function loadXML to two
1) only load function
2) resample every start(), Start() no longer load XML