captcha fix on_close