fix registration with hcaptcha