fixed generate bug (XMLList->XML)