fix hc4 cookie implementation as default