clean up for drag and drop