fixed login render errors