fix range fetch