fix return value for copy-port