fixed the remain time error.