fix bug: repeat configuration generation