Tieying up remote categories and local categories that have the same name