Fix expiration time issue.