fixed the cookie get