cookie file fix