setCookie fix