fix rangefilter