remove useless copy