Fix r range