I could not find a "range2" var in your code. Could this "range1" var be renamed to just "range"?