adjust config structure