added category = 'range' to get_range_lease()