Making sure categories are copied