fixed cursor ttl issue