fixed CookieProxy nullpoint bug