bugfix copy target