fix Captcha bug with upper PHP versions