range leases race condition hopefully fixed