removing unneeded namespaces