fix deep clone when importing dictionary