fix cookie set