fixed login for some clients