fix issue of session[:captcha]