fix config relations