remove nonexistent targets leftover from copy