fix category data in tags data