replace specific namespace with __NAMESPACE__