fix categories and tags