fix config tree