Remove unnecessary copy