delete unused namespaces