fix eventual duplication after copy