fix categories and topics