fix drag-and-drop