fix namespaces for extensions