stripping down the config