hotfix 0.24.x rt53834

We don't need the ```range``` variable.