merge liuqr's captcha and modifed