Fixed: wrong ttl implementation