refine rangefetch