refactoring config name and its default value.