restore creation of config for device