fixed unselect bug