finally able to delete selected item