fix unselect ordering problem