fix saving of value on keyring