fix not remembering last range selection