adapt to changes in IntRange