fixed if statement for if captcha was set to true