remove namespaces as possible