fix "alt+g" duplicate range selection.