remove superfluous copy