fix wechat login and register page