fixed tuple assignment issue when selecting regions to threshold