removing unused namespaces