Fixed a bug in the copy