fixed bug login