fix init data for dnd