Sync and Clear for &ref