fixed missing id in cloneDevice