fix bug 'login with google not working'