test for memory leak
fix memory leak with selectable/droppable