refactoring of DotConfiguration