catch empty newRanges