selected item bug