fix saving of settings..