Configsave fix

-fix for the saving of the config