apadted namespace-injection for changes in spec