fixed invalid check if reCaptcha is enabled