stats: null Range is an invalid range