enabling autoCookie building