fixed application of labels for drag and drop