remove unneeded copy