copy bug fixed