fix a bug in ConfigurationModule.build() caused by list change