fix config twice