fix unencrypted preferences sync, thanks to @xyz-nobody