minor fix for copy