refine rangefix