fix for drag and drop