Fix bug with the cookie + fix some stupid html error