clean up config order