fix global dnd