fixed saving of chat and log config options