removing unwanted namespaces