fix the login window