add location communityCode to shallow copier