reorganize config