Fix copy target history