fix sync cookie uniqueness