fix bug for weixin login