The different id numbers in multi group calculation

Hello everyone, may I ask if there is any way to avoid the mismatch between the ID numbers of geometric XML files and material XML files when I perform a multi group calculation in multi group mode