fixed data-copy