trying to fix dnd to work as in sample