fix dnd compilation