some changes for cookie sync...