fix broken drag and drop