fixing advanced data cookie expiry