fix form for cookie