fix Copy warnings