cleanup
fix unselect bug