fixed drag-n-drop functionality