fixed LoginButton error