fixed expired time bug