cookieClient fix