fixed the remainTime api error.