fix steps for range