Fix bug on the Cookies