fixing bug with retaining memory of features selected by region