fix config repeating variables