rename categories into namespaces