Fix bug of TTL not set