fixed drag and drop of directories