Fix secret syncing