Fixing parallel copy bug