solve the login date dected bug