remove references in list and category from schema